package me.macd.mindoc.config.freemarker;

import freemarker.template.Configuration;
import freemarker.template.TemplateModelException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @program: mindoc
 * @description: ${description}
 * @author: 2018-09-21
 * @create: 2018-09-21 19:37
 */
//@Component
public class FreemarkerConfig {
//    @Autowired
//    private Configuration configuration;
//    @Autowired
//    //private UserTopicDirective userTopicDirective;
//
////    @Value("${test.msg}")
////    private String
//
//    @PostConstruct
//    public void setSharedVariable() throws TemplateModelException {
//        //configuration.setSharedVariable("user_topics_tag", userTopicDirective);
//    }
}
